package com.company.project.service.impl;

import com.company.project.dao.VtElectricityMapper;
import com.company.project.model.VtElectricity;
import com.company.project.service.VtElectricityService;
import com.company.project.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by CodeGenerator on 2023/11/07.
 */
@Service
@Transactional
public class VtElectricityServiceImpl extends AbstractService<VtElectricity> implements VtElectricityService {
    @Resource
    private VtElectricityMapper vtElectricityMapper;

    @Override
    public List<VtElectricity> findElectricListByGroupId(Integer groupId) {
        return vtElectricityMapper.findElectricListByGroupId(groupId);
    }
}
